local print = print

-- name, fontSize, r, g, b, a, shown, locked, docked, uninteractable
local windows = {
	{ "", 12, 0, 0, 0, .5, 1, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
	{ "", 12, 0, 0, 0, .5, nil, 1, 1 },
}
local chat = {}

function GetChatTypeIndex()
end

function GetChatWindowMessages(index)
end

function GetChatWindowChannels(index)
end

function GetChatWindowInfo(index)
	local info = windows[index]
	if info then
		return unpack(info)
	else
		print("GetChatWindowInfo", index)
		exit_here()
		return unpack(windows[1])
	end
end

function SetChatWindowName(index, name)
	local info = windows[index]
	if info then
		info[1] = name
	end
end

function SetChatWindowLocked(index, locked)
	local info = windows[index]
	if info then
		info[8] = locked
	end
end

function SetChatWindowShown(index, shown)
	local info = windows[index]
	if info then
		info[7] = shown
	end
end

function SendChatMessage(msg, type, lang, channel)
	print("SENDCHATMESSAGE", msg, type, lang, channel)
end

function SendAddonMessage(prefix, msg, type, name)
	print("SENDADDONMESSAGE", prefix, msg, type, name)
end

function AddChatWindowMessages(index, group)
end

function SetChatWindowSize(index, fontsize)
	local info = windows[index]
	if info then
		info[2] = fontsize
	end
end

function SetChatWindowUninteractable(index, value)
	local info = windows[index]
	if info then
		info[10] = value
	end
end
